<div class="footer">
    <div class="wrapper">
        <ul class="footer-service clearfix">
        <li><a href="" target="_blank"><i class="iconfont">&#xe60c;</i>行货保证</a></li>
        <li><a href="" target="_blank"><i class="iconfont">&#xe611;</i>发票保障</a></li>
        <li><a href="" target="_blank"><i class="iconfont">&#xe608;</i>24小时发货</a></li>
        <li><a href="" target="_blank"><i class="iconfont">&#xe612;</i>顺丰包邮</a></li>
        <li><a href="" target="_blank"><i class="iconfont">&#xe613;</i>无忧退换</a></li>
        <li class="last"><a href="" target="_blank"><i class="iconfont">&#xe610;</i>先行赔付</a></li>
                </ul>
                <div class="footer-service-relate clearfix">
                    <dl class="cooperation">
                        <dt>商家合作</dt>
                        <dd>
                            <p>错过天猫？别再错过我们！</p>
                            <p>ZOL商城开启全新旅程！</p>
                            <a href="" class="btn" target="_blank"><span>关于入驻</span>&gt;</a>
                        </dd>
                    </dl>
                    <dl class="hotline">
                        <dt>400-678-0068</dt>
                        <dd>
                            <p>工作日 9:00 - 18:00</p>                 
                            <a target="_blank" class="weibo" href="http://weibo.com/zolcom">关注新浪微博</a>
                        </dd>
                    </dl>
                    <dl>
                        <dt>购物指南</dt>
                        <dd>
                            <p><a href="" target="_blank">帐号注册</a></p>
                            <p><a href="" target="_blank">购物流程</a></p>
                            <p><a href="" target="_blank">付款方式</a></p>
                                                
                        </dd>
                    </dl>
                    <dl>
                        <dt>售后服务</dt>
                        <dd>
                            <p><a href="" target="_blank">先行赔付</a></p>
                            <p><a href="" target="_blank">退款退货流程</a></p>
                            <p><a href="" target="_blank">投诉举报</a></p>
                                                    
                        </dd>
                    </dl>
                    <dl>
                        <dt>商城保障</dt>
                        <dd>
                            <p><a href="" target="_blank">行货保障</a></p>
                            <p><a href="" target="_blank">如实描述</a></p>
                            <p><a href="" target="_blank">物流配送</a></p>
                            <p><a href="" target="_blank">24小时发货</a></p>
                            <p><a href="" target="_blank">发票保障</a></p>
                                                                                    
                        </dd>
                    </dl>                    
                    <dl>
                        <dt>商家服务</dt>
                        <dd>
                            <p><a href="">商家中心</a></p>
                            <p><a href="" target="_blank">商城规则</a></p>
                            <p><a href="" target="_blank">商家帮助</a></p>
                                                                                    
                        </dd>
                    </dl>                    
                </div>
            </div>

            <div class="footer-nav-bar">
                <div class="wrapper">
                    <div class="partners" style="height:auto;">
                        <span class="label">合作伙伴：</span>
                        <!--<span class="more more-open">更多</span>-->
                        <p>
                            <a href="http://www.juanpi.com/" target="_blank">卷皮网</a>|
                            <a href="http://www.99114.com/" target="_blank">电子商务平台</a>|
                            <a href="http://www.cebnet.com.cn/" target="_blank">中国电子银行网</a>|
                            <a href="http://www.vmall.com" target="_blank">华为商城</a>|
                            <a href="http://www.301688.com" target="_blank">三帝贸易网</a>|
                            <a href="http://www.pztuan.com/index.aspx" target="_blank">团购</a>|
                            <a href="http://shop.enet.com.cn/" target="_blank">eNet商城</a>|
                            <a href="http://www.eachnet.com/" target="_blank">易趣</a>|
                            <a href="http://www.meilele.com/" target="_blank">家具网</a>|
                            <a href="http://www.wbiao.cn/" target="_blank">手表品牌大全</a>|
                            <a href="http://www.dionly.com/" target="_blank">钻石</a>|
                            <a href="http://www.yxlady.com/" target="_blank">伊秀女性网</a>|
                            <a href="http://www.hqew.com/" target="_blank">华强电子网</a>|
                            <a href="http://www.eepw.com.cn" target="_blank">电子产品世界</a>|
                            <a href="http://www.wadongxi.com" target="_blank">挖东西比价网</a>|
                            <a href="http://www.admaimai.com" target="_blank">广告网</a>|
                            <a href="http://www.egou.com" target="_blank">易购网</a>|
                        </p>    
                                            </div>
                    <div class="footer-nav"><a href="http://www.zol.com.cn/" target="_blank">中关村在线</a>|<a href="http://www.zol.com/" target="_blank">ZOL商城</a>|<a href="http://tuan.zol.com/" target="_blank">Z团</a>|<a href="http://qiang.zol.com/" target="_blank">限时抢购</a>|<a href="http://miaosha.zol.com/" target="_blank">秒杀</a>|<a href="http://zc.zol.com/" target="_blank">Z众筹</a>|<a href="http://dealer.zol.com.cn/beijing/" target="_blank">经销商</a>|<a href="http://detail.zol.com.cn/" target="_blank">产品报价</a>|<a href="http://bbs.zol.com.cn/" target="_blank">论坛</a>|<a href="http://ask.zol.com.cn/" target="_blank">问答</a></div>
                    <div class="copyright">
                        <a href="http://help.zol.com/index.php?c=Detail&id=1254" target="_blank">关于ZOL商城</a>|<a href="http://help.zol.com/index.php?c=Default" target="_blank">帮助中心</a>|<a href="http://help.zol.com/index.php?c=Detail&id=1256" target="_blank">联系我们</a>|<a href="http://help.zol.com/index.php?c=Detail&id=1257" target="_blank">发展历程</a>|<a href="http://help.zol.com/index.php?c=Detail&id=1255" target="_blank">媒体报道</a><span>&copy;2015 中关村在线 版权所有. 京ICP备09041801号-182 京ICP证010391号</span>
                    </div>
                     <div class="authentication clearfix"><a href="" target="_blank"><img src="__PUBLIC__/imgs/beian.jpg" width="85" height="32"></a><a href="" target="_blank"><img src="__PUBLIC__/imgs/jingcha.jpg" width="86" height="32"></a><a href="" target="_blank"><img src="__PUBLIC__/imgs/chengxin.jpg" width="90" height="32"></a>
                    </div>
                </div>
            </div>
        </div>
         <script src="__PUBLIC__/js/excellentfeedback.js"></script>

        <script>
            var searchFunction = {
                searchKeyword: null,
                searchButton: null,
                searchHistory: null,
                searchHistoryList: null,
                searchHistoryListDel: null,
                searchHistoryListClose: null,
                getHistoryList: function () {
                    if (typeof jQuery == "undefined") {
                        return false;
                    } else {
                        var url = "http://www.zol.com/index.php?c=Ajax_PublicHead&a=AjaxGetSearchHistory&callback=?&t=" + Math.random();
                        $.getJSON(url, function (data) {
                            if (data.msg) {
                                $(".search").append(data.msg);
                                searchFunction.getElements();
                                searchFunction.eventListener();
                            }
                        });
                    }
                },
                getElements: function () {
                    searchFunction.searchKeyword = document.querySelector(".search .search-text");
                    searchFunction.searchButton = document.querySelector(".search .search-btn");
                    searchFunction.searchHistory = document.querySelector(".search-history");
                    searchFunction.searchHistoryList = document.querySelectorAll(".search-history ul li");
                    searchFunction.searchHistoryListDel = document.querySelectorAll(".search-history ul li .delete");
                    searchFunction.searchHistoryListClose = document.querySelector(".search-history .close");
                },
                eventListener: function () {
                    searchFunction.searchKeyword.addEventListener("focus", function () {
                        searchFunction.showHistory();
                    });
                    searchFunction.searchKeyword.addEventListener("click", function () {
                        searchFunction.showHistory();
                    });
                    searchFunction.searchKeyword.addEventListener("keypress", function (e) {
                        if (window.event) {
                            e = window.event;
                        }
                        var keyNumber = e.keyCode;
                        if (13 == keyNumber) {
                            searchFunction.searchButton.click();
                        }
                    });
                    searchFunction.searchHistory.addEventListener("mouseleave", function () {
                        searchFunction.hideHistory();
                    });
                    searchFunction.searchHistoryListClose.addEventListener("click", function () {
                        searchFunction.hideHistory();
                    });
                    for (var i = 0; i < searchFunction.searchHistoryList.length; i++) {
                        searchFunction.searchHistoryList[i].addEventListener("click", searchFunction.clickHistory(searchFunction.searchHistoryList[i]));
                    }
                    for (var i = 0; i < searchFunction.searchHistoryListDel.length; i++) {
                        searchFunction.searchHistoryListDel[i].addEventListener("click", searchFunction.deleteHistory(searchFunction.searchHistoryListDel[i]));
                    }
                },
                showHistory: function () {
                    searchFunction.searchHistory.style.display = "block";
                },
                clickHistory: function (obj) {
                    return function () {
                        searchFunction.searchKeyword.value = obj.getAttribute("keyword");
                        searchFunction.searchButton.click();
                    };
                },
                deleteHistory: function (obj, e) {
                    return function () {
                        searchFunction.stopPropagation(e);
                        var dataId = obj.getAttribute("data-id");
                        var url = "http://www.zol.com/index.php?c=Ajax_PublicHead&a=AjaxDeleteSearchHistory&callback=?&t=" + Math.random();
                        $.getJSON(url, {dataId: dataId}, function (data) {
                            if (data.flag) {
                                obj.parentNode.style.display = "none";
                            }
                        });
                    };
                },
                hideHistory: function () {
                    searchFunction.searchHistory.style.display = "none";
                },
                stopPropagation: function (e) {
                    e = e || window.event;
                    if (e.stopPropagation) {
                        e.stopPropagation();
                    } else {
                        e.cancelBubble = true;
                    }
                }
            };
            searchFunction.getHistoryList();

            // 限时抢购倒计时
            $.extend({
                promoClock: function (classId, endTime, nowTime) {
                    var leave = endTime - nowTime;
                    var lastTime = '';
                    if (leave <= 0) {
                        var lastTime = "抢购已结束";
                    } else {
                        var hour = Math.floor(leave / 3600);
                        var minute = Math.floor(leave / 60) - (hour * 60);
                        var second = leave - (hour * 3600) - (minute * 60);
                        hour = hour < 10 ? "0" + hour : hour;
                        minute = minute < 10 ? "0" + minute : minute;
                        second = second < 10 ? "0" + second : second;
                        lastTime = '距抢购结束<em>' + hour + '</em>小时<em>' + minute + '</em>分<em>' + second + '</em>秒';
                        $('#' + classId).html(lastTime);
                        endTime--;
                        setTimeout("$.promoClock('" + classId + "', '" + endTime + "', '" + nowTime + "')", 1000);
                    }
                }
            });

            // 话费充值
            var mobileFee = 50;
            function checkMobileNumber(mobileNumber) {
                if (mobileNumber == '') {
                    $('#feeError').html("请输入手机号");
                    $("#feeMobile").focus();
                    return false;
                }
                var rg = /^(?:1\d\d)-?\d{5}(\d{3}|\*{3})$/;
                var isMobile = rg.test(mobileNumber);
                if (!isMobile) {
                    $('#feeError').html("请输入正确的手机号码").show();
                    $("#feeMobile").focus();
                    return false;
                }
                $('#feeError').html('');
                return true;
            }

            $('#feeBox').blur(function () {
                $("#feeBox").hide();
            });

            $("#selectFee").click(function () {
                var mobile = $("#feeMobile").val();
                var checkMobile = checkMobileNumber(mobile);
                if (checkMobile) {
                    $("#feeBox").show();
                } else {
                    $('#feeError').html("请输入正确的手机号码").show();
                }
            });

            $("#feeBox>a").click(function () {
                var mobile = $("#feeMobile").val();
                var checkMobile = checkMobileNumber(mobile);
                if (checkMobile) {
                    var selFee = $(this).html();
                    $("#selectFee").html(selFee);
                    $("#feeBox").hide();
                    mobileFee = $(this).attr('val');

                    $.getJSON("http://api.zol.com/index.php?c=Recharge_WebSiteRecharge&a=GetBm274Price&mobile=" + mobile + "&facePrice=" + mobileFee + "&jsoncallback=?", function (json) {
                        if (json.IsSuccess) {
                            $('#sallPrice').html('<span class="price">￥<em>' + json.Price + '</em></span>');
                        } else {
                            $('#sallPrice').html('获取价格失败');
                        }
                    });

                }
            });

            // 焦点图特效
            var adTimer1 = adTimer2 = adTimer3 = adTimer4 = adTimer5 = null;
            var currslid1 = currslid2 = currslid3 = currslid4 = currslid5 = 1;

            function showImg(currslid, imgDiv, adWidth) {
                if (!currslid) {
                    $("#" + imgDiv + "Ul").stop(true, false).animate({left: -adWidth * currslid}, 500);
                } else {
                    $("#" + imgDiv + "Ul").stop(true, false).animate({left: -adWidth * currslid}, 500);
                }
                $("#" + imgDiv + "Span > span:eq(" + currslid + ")").addClass("current").siblings().removeClass("current");
                $("#" + imgDiv + "Next").attr({'page': currslid});
                $("#" + imgDiv + "Prev").attr({'page': currslid});
            }

            function playIt(imgType) {
                var imgType = parseInt(imgType);
                var adWidth = 419;
                switch (imgType) {
                    case 1:
                        var adWidth = 740;
                        var courrLen = $("#indexFocusSpan > span").length;
                        if (courrLen > 1) {
                            adTimer1 = setInterval(function () {
                                showImg(currslid1, 'indexFocus', adWidth);
                                currslid1++;
                                if (currslid1 >= courrLen) {
                                    currslid1 = 0;
                                }
                            }, 3000);
                        }
                        break;
                    case 2:
                        var courrLen = $("#mobileFocusSpan > span").length;
                        if (courrLen > 1) {
                            adTimer2 = setInterval(function () {
                                showImg(currslid2, 'mobileFocus', adWidth);
                                currslid2++;
                                if (currslid2 == courrLen) {
                                    currslid2 = 0;
                                }
                            }, 3000);
                        }
                        break;
                    case 3:
                        var courrLen = $("#computerFocusSpan > span").length;
                        if (courrLen > 1) {
                            adTimer3 = setInterval(function () {
                                showImg(currslid3, 'computerFocus', adWidth);
                                currslid3++;
                                if (currslid3 == courrLen) {
                                    currslid3 = 0;
                                }
                            }, 3000);
                        }
                        break;
                    case 4:
                        var courrLen = $("#digitalFocusSpan > span").length;
                        if (courrLen > 1) {
                            adTimer4 = setInterval(function () {
                                showImg(currslid4, 'digitalFocus', adWidth);
                                currslid4++;
                                if (currslid4 == courrLen) {
                                    currslid4 = 0;
                                }
                            }, 3000);
                        }
                        break;
                    case 5:
                        var courrLen = $("#diyFocusSpan > span").length;
                        if (courrLen > 1) {
                            adTimer5 = setInterval(function () {
                                showImg(currslid5, 'diyFocus', adWidth);
                                currslid5++;
                                if (currslid5 == courrLen) {
                                    currslid5 = 0;
                                }
                            }, 3000);
                        }
                        break;
                }
            }


            function stopIt(imgType) {
                imgType = parseInt(imgType);
                switch (imgType) {
                    case 1:
                        clearInterval(adTimer1);
                        break;
                    case 2:
                        clearInterval(adTimer2);
                        break;
                    case 3:
                        clearInterval(adTimer3);
                        break;
                    case 4:
                        clearInterval(adTimer4);
                        break;
                    case 5:
                        clearInterval(adTimer5);
                        break;
                }
            }

            $(function () {
                // 限时抢购时间显示
                $(".flash-sale-list li").hover(function () {
                    $(this).addClass('hover');
                }, function () {
                    $(this).removeClass('hover');
                });
                // 限时抢购倒计时
                    $.promoClock('promoCoutDown8', '', Z_now_time);
                    $.promoClock('promoCoutDown7', '', Z_now_time);
                    $.promoClock('promoCoutDown6', '', Z_now_time);
                    $.promoClock('promoCoutDown5', '', Z_now_time);
                    $.promoClock('promoCoutDown4', '', Z_now_time);
                    $.promoClock('promoCoutDown3', '', Z_now_time);
                    $.promoClock('promoCoutDown2', '', Z_now_time);
                    $.promoClock('promoCoutDown1', '', Z_now_time);
                    $.promoClock('promoCoutDown0', '', Z_now_time);


                // 楼层品牌
                $(".brands-list > li").hover(function () {
                    $(this).addClass('hover');
                }, function () {
                    $(this).removeClass('hover');
                });

                // 焦点图
                playIt(1);
                playIt(2);
                playIt(3);
                playIt(4);
                playIt(5);

                $(".focus-switch > span").mouseover(function () {
                    var imgType = $(this).parent().attr('rel');
                    imgType = parseInt(imgType);
                    var imgDiv = '';
                    var adWidth = 419;
                    currslid = parseInt($(this).attr("rel"));
                    switch (imgType) {
                        case 1:
                            currslid1 = currslid;
                            imgDiv = 'indexFocus';
                            adWidth = 740;
                            break;
                        case 2:
                            currslid2 = currslid;
                            imgDiv = 'mobileFocus';
                            break;
                        case 3:
                            currslid3 = currslid;
                            imgDiv = 'computerFocus';
                            break;
                        case 4:
                            currslid4 = currslid;
                            imgDiv = 'digitalFocus';
                            break;
                        case 5:
                            currslid5 = currslid;
                            imgDiv = 'diyFocus';
                            break;
                    }

                    showImg(currslid, imgDiv, adWidth);
                    stopIt(imgType);
                    $(this).addClass('current').siblings().removeClass('current');
                }).mouseleave(function () {
                    var imgType = $(this).parent().attr('rel');
                    playIt(imgType);
                });

                var isIE = navigator.userAgent.indexOf("MSIE 6.0") === -1 ? 0 : 1;
                if (!isIE) {
                    $(".focus-box").mouseenter(function () {
                        $(this).children(".focus-prev-btn").show();
                        $(this).children(".focus-next-btn").show();
                    }).mouseleave(function () {
                        $(this).children(".focus-prev-btn").hide();
                        $(this).children(".focus-next-btn").hide();
                    });
                }


                $(".focus-prev-btn, .focus-next-btn").click(function () {
                    var imgType = $(this).attr('rel');
                    imgType = parseInt(imgType);
                    var courrLen = parseInt($(this).attr('number'));
                    var currslid = parseInt($(this).attr('page'));
                    var clickType = $(this).attr('type');

                    if ('next' == clickType) {
                        if ((currslid + 1) >= courrLen) {
                            currslid = 0;
                        } else {
                            currslid++;
                        }
                    } else {
                        if (!currslid) {
                            currslid = (courrLen - 1);
                        } else {
                            currslid--;
                        }

                    }

                    var imgDiv = '';
                    var adWidth = 419;
                    switch (imgType) {
                        case 1:
                            currslid1 = currslid;
                            imgDiv = 'indexFocus';
                            adWidth = 740;
                            break;
                        case 2:
                            currslid2 = currslid;
                            imgDiv = 'mobileFocus';
                            break;
                        case 3:
                            currslid3 = currslid;
                            imgDiv = 'computerFocus';
                            break;
                        case 4:
                            currslid4 = currslid;
                            imgDiv = 'digitalFocus';
                            break;
                        case 5:
                            currslid5 = currslid;
                            imgDiv = 'diyFocus';
                            break;
                    }

                    showImg(currslid, imgDiv, adWidth);
                    stopIt(imgType);
                    $("#" + imgDiv + "Span > span").removeClass('current');

                    var rel = 0;
                    $("#" + imgDiv + "Span > span").each(function () {
                        rel = parseInt($(this).attr('rel'));
                        if (rel == currslid) {
                            $(this).addClass('current');
                        }
                    });

                });


                $("#feeMobile").bind("keyup", function () {
                    var mobile = $(this).val();
                    var mobileLen = mobile.length;
                    if (11 == mobileLen) {
                        var checkMobile = checkMobileNumber(mobile);
                        if (checkMobile) {
                            $('#feeError').html('').hide();
                        }
                    }
                });

                $("#feeMobile").bind("blur", function () {
                    var mobile = $(this).val();
                    var mobileLen = mobile.length;
                    if (11 == mobileLen) {
                        var checkMobile = checkMobileNumber(mobile);
                        if (checkMobile) {
                            $('#feeError').html('').hide();
                        } else {
                            $('#feeError').html("请输入正确的手机号码");
                            $("#feeMobile").focus();
                        }
                    }
                });


                // 话费充值
                $("#subAddFee").click(function () {
                    var mobile = $("#feeMobile").val();
                    var checkMobile = checkMobileNumber(mobile);
                    if (checkMobile) {
                        $("input[name=fp]").val(mobileFee);
                        $('#addFeeForm').attr("action", "http://zol.bm724.com/Views/hfcharge.html?p=" + mobile + "&fp=" + mobileFee + "&b=zol");
                        return true;
                    } else {
                        $('#feeError').html("请输入正确的手机号码");
                        return false;
                    }
                });

                // 左侧导航特效
                $(".menu-nav-container > li").hover(function () {
                    $(this).addClass("current");
                },
                        function () {
                            $(this).removeClass("current");
                        });

            });

            var __Window = $(window);
            var __Body = $(document);
            var topNavObj = {};
            //获取屏幕高度
            topNavObj.getClientHeight = function () {
                var clientHeight = __Window.height();
                this.winHeight = parseInt(clientHeight);
                return this.winHeight;
            }
            //获取当前页面已滚动的高度
            topNavObj.getScrollHeight = function () {
                var scrollTop = __Body.scrollTop();
                this.scrollTop = parseInt(scrollTop);
                return this.scrollTop;
            }
            //初始化调用
            topNavObj.init = function () {
                this.getClientHeight();
            }
            //滚动事件监听
            topNavObj.init();
            var topNavDiv = $("#search_layer_fixed");
            __Window.scroll(function () {
                var hasScrollTop = topNavObj.getScrollHeight();
                if (hasScrollTop > topNavObj.winHeight) {
                    topNavDiv.show();
                } else {
                    topNavDiv.fadeOut(300);
                }
            });
            //意见建议调用
            var baseDetailUrl = "http://www.zol.com/index.php?";//Ajax请求基础域名
            var cType = 'Index';//建议反馈
            var aType = 'Index';//建议反馈
            $(function () {
                //调用
                $.survey({channel: '首页'});
            });
        </script>
               
<load href='__PUBLIC__/js/shoploginlayer.js' />     
<load href='__PUBLIC__/js/perfect-scrollbar.jquery.min.js' />
<!--  
<load href='__PUBLIC__/js/side_toolbar.js' />     
<load href='__PUBLIC__/js/side_toolbar_fun_v1.0.js' />-->

<script>

//侧边栏购物车数量 

    function setCartNum(){

        var url = "http://www.zol.com/index.php?c=Ajax_ShopCart&a=GetCartNumber&callback=?&t="+Math.random();

        $.getJSON(

            url,

            {},

            function(data){

                $("#cart-total").html(data.cartNumber);

            }

        );

    }

    setCartNum();

</script>
        <load href='__PUBLIC__/js/pv.js' />

        <script type="text/javascript">
            var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
            document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F7daf617aaf843f0f55a422b00d7de1e7' type='text/javascript'%3E%3C/script%3E"));
        </script>
    </body>
</html>